package com.ydx.eureka.service.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: Controller
 * @Description:
 * @Author
 * @Date 2021/7/21
 * @Version 1.0
 */
@RestController
@RequestMapping("/eureka-service")
public class Controller {
    @RequestMapping("/hello")
    public String hello(String s) {
        System.out.println("传入的值为："+s);
        return "传入的值为："+s;
    }
}
